{__NOLAYOUT__}
<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title>客服中心</title>
		<link rel="stylesheet" type="text/css" href="http://cdn.bootcss.com/bootstrap/3.3.4/css/bootstrap.min.css" />
		<script src="http://cdn.bootcss.com/jquery/2.1.3/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="http://cdn.bootcss.com/bootstrap/3.3.4/js/bootstrap.min.js" type="text/javascript" charset="utf-8"></script>
		<script type="text/javascript" src="http://channel.sinaapp.com/api.js"></script>
	</head>

	<body>
		<script type="text/javascript">
			var channelUrl = "{$channelUrl}"
		    	var channel = new sae.Channel(channelUrl)
		    	channel.onopen = function(){
		    	    console.log('onopen')
		    	    console.log(channelUrl)
		    	}
		    	channel.onmessage = function(message){
		    	    console.log('onmessage:')
		    	    console.log(message)
		    	}
		    	channel.onerror = function(error){
		    	    console.log('onerror')
		    	    console.log(error)
		    	}
		    	channel.onclose = function(){
		    	    console.log('onclose')
		    	}
		</script>
		<div class="container">
		
		</div>
	</body>

</html>